home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / rexx / 141 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  964 b 

  1. Path: osiris.wu-wien.ac.at!usenet
  2. From: Rony.Flatscher@wu-wien.ac.at
  3. Newsgroups: comp.lang.rexx
  4. Subject: Re: Calling variable procs (in OO-Rexx ...)
  5. Date: 9 Jan 1996 12:11:42 GMT
  6. Organization: University of Economics and Business Administration
  7. Distribution: inet
  8. Message-ID: <4ctm1u$681@osiris.wu-wien.ac.at>
  9. References: <9601090923.AA10832@s4dc8bs1.eurocontrol.de>
  10. Reply-To: Rony.Flatscher@wu-wien.ac.at
  11. NNTP-Posting-Host: rony.wu-wien.ac.at
  12. X-Newsreader: IBM NewsReader/2 v1.9d - NLS
  13.  
  14. In <9601090923.AA10832@s4dc8bs1.eurocontrol.de>, Cem Turgay #261 <tur@EUROCONTROL.DE> writes:
  15. >> Is there anyway to call a proceedure that is stored
  16. >> in a variable.
  17. >
  18. >Yes, of course, the magic word is INTERPRET ! B-)
  19.  
  20. In Object Rexx one could use (which is really a gimmick):
  21.  
  22.         CALL ( variable )( [arg1, ..., argn] )
  23.  
  24. A potential result (if it was a function) would be stored in the special
  25. variable "RESULT" upon return and would therefore be accessible.
  26.  
  27. ---rony
  28.  
  29.